<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: ASUS
  Date: 2023/12/11
  Time: 15:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page import="com.example.ending_demo.model.Address" %>
<%@ page import="com.example.ending_demo.model.PageInfo" %><html>
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>编辑地址信息</title>
    <link type="text/css" href="css/bootstrap.min.css" rel="stylesheet" />
    <link type="text/css" href="css/mystyles.css" rel="stylesheet" />
</head>
<body>
<%@ include file="header.jsp"%>


<div class="container">
    <div class="login">
        <form action="AddressEditServlet?id=${requestScope.addr.address_id}" method="post" class="width-80" >
            <h3>编辑地址信息</h3>
            <div class="form-group" >
                <label for="username">姓名</label>
                <input type="text" class="form-control" value="${requestScope.addr.addr_username}" id="username" name="username" placeholder="用户名">
            </div>
            <div class="form-group">
                <label for="phone">手机号码</label>
                <input type="text" class="form-control" value="${requestScope.addr.addr_phone}" id="phone" name="phone" placeholder="手机号码">
            </div>
            <div class="form-group">
                <label for="phone">邮箱</label>
                <input type="text" class="form-control" value="${requestScope.addr.addr_email}" id="email" name="email" placeholder="邮箱">
            </div>
            <div class="form-group">
                <label for="phone">通讯地址</label>
                <input type="text" class="form-control" value="${requestScope.addr.address}" id="address" name="address" placeholder="收货地址">
            </div>
            <div class="form-group">
                <input type="submit" class="btn btn-primary" value="保存"/>
            </div>
        </form>
    </div>
</div>

<%@ include file="footer.jsp"%>
<script type="text/javascript" src="js/jquery-3.6.1.js"></script>
<script type="text/javascript" src="js/bootstrap.min.js"></script>
</body>
</html>
